#include "RegexHeaders.h"

int SearchByRegex(string& in, regex pattern) {
	try
	{
		std::cout << std::boolalpha << std::regex_search(in, pattern) << std::endl;
	}
	catch (const std::exception& err)
	{
		std::cout << err.what() << std::endl;
	}
	return 0;
}
